#include "mainwindow.h"
#include <QApplication>
#include <QDesktopWidget>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    MainWindow w;
    w.show();
    //设置窗口大小，以及窗口位置
    w.resize(1696, 960);
    QDesktopWidget* desktop = QApplication::desktop();
    w.move((desktop->width() - w.width())/2, (desktop->height() - w.height())/2);

    return a.exec();
}
